﻿

/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/23/2010                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define ChiTietPhieuNhapHangDetail object. This object used to contain data that returned from data layer.
    /// </summary>
    public class ChiTietPhieuBanHangDetail
    {
        #region fields
      
        private string maMatHang;
        private string tenMatHang;
        private string maPhuTung;
        private int maXe;
        private string nuocSX;
        private string hieu;        
        private string donViTinh;
        private int soLuongBan;
        private double giaBan;
        private string curencyCode;
        #endregion fields

        #region properties
        public string MaPhuTung
        {
            get { return this.maPhuTung; }
            set { this.maPhuTung = value; }
        }

        public int MaXe
        {
            get { return this.maXe; }
            set { this.maXe = value; }
        }
        public string CurencyCode
        {
            get { return this.curencyCode; }
            set { this.curencyCode = value; }
        }
        /// <summary>
      
        /// <summary>
        /// Define MaMatHang Property.
        /// </summary>
        public string MaMatHang
        {
            get { return this.maMatHang; }
            set { this.maMatHang = value; }
        }
        public string TenMatHang
        {
            get { return this.tenMatHang; }
            set { this.tenMatHang = value; }
        }
        /// <summary>
        /// Define DonViTinh Property.
        /// </summary>
        public string DonViTinh
        {
            get { return this.donViTinh; }
            set { this.donViTinh = value; }
        }
        public string Hieu
        {
            get { return this.hieu; }
            set { this.hieu = value; }
        }
        public string NuocSX
        {
            get { return this.nuocSX; }
            set { this.nuocSX = value; }
        }
        /// <summary>
        /// Define SoLuongNhap Property.
        /// </summary>
        public int SoLuongBan
        {
            get { return this.soLuongBan; }
            set { this.soLuongBan = value; }
        }
        /// <summary>
        /// Define GiaNhap Property.
        /// </summary>
        public double GiaBan
        {
            get { return this.giaBan; }
            set { this.giaBan = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for ChiTietPhieuNhapHangResultResult Object.
        /// </summary>
        public ChiTietPhieuBanHangDetail()
        {
            this.maPhuTung = string.Empty;
            this.maXe = int.MinValue;
            this.curencyCode = string.Empty;
            this.maMatHang = string.Empty;         
            this.soLuongBan = int.MinValue;
            this.giaBan = double.MinValue;
            this.tenMatHang = string.Empty;          
            this.hieu = string.Empty;
            this.nuocSX = string.Empty;
        }
       
        #endregion constructor
    }
}